- dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
- get
T get()
Undocumented in source. Be warned that the author may not have intended to support it.
- isBlackboxed
bool isBlackboxed()
Undocumented in source. Be warned that the author may not have intended to support it.
- length
size_t length()
Undocumented in source. Be warned that the author may not have intended to support it.
- opAssign
auto opAssign(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
- opIndex
auto ref opIndex(size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
- opIndexAssign
auto opIndexAssign(T value, size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
- set
bool set(T value, bool validateData)
Undocumented in source. Be warned that the author may not have intended to support it.
- setBlackboxed
bool setBlackboxed(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
- varSize
size_t varSize()
Undocumented in source. Be warned that the author may not have intended to support it.
- create
ShaderVar* create(ShaderTypes t, string varName, bool data)
Undocumented in source. Be warned that the author may not have intended to support it.
- create
ShaderVar* create(ShaderTypes t, string varName, int data)
Undocumented in source. Be warned that the author may not have intended to support it.
- create
ShaderVar* create(ShaderTypes t, string varName, uint data)
Undocumented in source. Be warned that the author may not have intended to support it.
- create
ShaderVar* create(ShaderTypes t, string varName, float data)
Undocumented in source. Be warned that the author may not have intended to support it.
- create
ShaderVar* create(ShaderTypes t, string varName, float[2] data)
Undocumented in source. Be warned that the author may not have intended to support it.
- create
ShaderVar* create(ShaderTypes t, string varName, float[3] data)
Undocumented in source. Be warned that the author may not have intended to support it.
- create
ShaderVar* create(ShaderTypes t, string varName, float[4] data)
Undocumented in source. Be warned that the author may not have intended to support it.
- create
ShaderVar* create(ShaderTypes t, string varName, float[9] data)
Undocumented in source. Be warned that the author may not have intended to support it.
- create
ShaderVar* create(ShaderTypes t, string varName, float[16] data)
Undocumented in source. Be warned that the author may not have intended to support it.
- create
ShaderVar* create(ShaderTypes t, string varName, int[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
- create
ShaderVar* create(ShaderTypes t, string varName, uint[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
- create
ShaderVar* create(ShaderTypes t, string varName, void* varData, UniformType type, size_t varSize, size_t singleSize, bool isDynamicArrayReference)
Undocumented in source. Be warned that the author may not have intended to support it.
- create
ShaderVar* create(ShaderTypes t, string varName, float[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
- createBlackboxed
ShaderVar* createBlackboxed(ShaderTypes t, string varName, UniformType type, size_t varSize, size_t singleSize)
Undocumented in source. Be warned that the author may not have intended to support it.
Struct that holds uniform/cbuffer information for Direct3D and OpenGL shaders. It can be any type. Its data is accessed by the ShaderVariableLayout when sendVars is called. Thus, depending on its corrensponding type, its data is uploaded to the GPU.